﻿using System;
using System.Runtime.Serialization;

namespace WebService.Service.Transfer {

    [DataContract]
    public class CreatePurchaseRecordRequest {

        [DataMember]
        public string ProductId { get; set; }

        [DataMember]
        public string BuyerId { get; set; }

        [DataMember]
        public string PosterId { get; set; }

        [DataMember]
        public double Cost { get; set; }

        [DataMember]
        public string CostCurrency { get; set; }

        [DataMember]
        public int Count { get; set; }

        [DataMember]
        public int Location { get; set; }

        [DataMember]
        public double Postage { get; set; }
        
        [DataMember]
        public string PostageCurrency { get; set; }

        [DataMember]
        public double CurrencyRate { get; set; }

        [DataMember]
        public DateTime? DatePurchased { get; set; }

    }
}